<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" isELIgnored="false" %>

<form id="updateCatalogForm" method="post" enctype="multipart/form-data">
    <table align="center" style="margin-top: 50px">
      <tr>
        <td>
          <label>id:</label>
        </td>
        <td>
          <input class="easyui-textbox" type="text" name="id" data-options="readonly:true"/>
        </td>
      </tr>
      <tr>
        <td>
          <label>名称:</label>
        </td>
        <td>
          <input class="easyui-textbox" type="text" name="name" data-options="required:true"/>
        </td>
      </tr>
      <tr>
        <td>
          <label>路径:</label>
        </td>
        <td>
          <input class="easyui-textbox" type="text" name="path" data-options="required:true"/>
        </td>
      </tr>
      <tr>
        <td>
          <label></label>
        </td>
        <td>
          <input name="catalogimage" class="easyui-filebox" data-options="prompt:'choose image..',buttonText:'更新图片',buttonIcon:'icon-add',multiple:true,buttonAlign:'right'" style="width: 300px">
        </td>
      </tr>

    </table>

</form>
<script type="text/javascript">

    $("#updateCatalogForm").form('load',"${pageContext.request.contextPath}/catalog/findById?id=${param.id}");


</script>

